package com.blog.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 项目类
 *
 * @author wmb
 *
 * @since 2021-2-8
 */
@ApiModel("项目实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Meta implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文章的主键")
    private Integer id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("项目缩略名")
    private String slug;

    @ApiModelProperty("项目类型")
    private String type;

    @ApiModelProperty("对应的文章类型")
    private String contentType;

    @ApiModelProperty("选项描述")
    private String description;

    @ApiModelProperty("项目排序")
    private Integer sort;

    private Integer parent;
}
